let a
try {
    console.log(a.b)
} catch (error) {
    console.log(error)
}